package com.sc.nft.entity.vo.secondEquityProp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class SecondEquityPropWaitPayOrderVO {

    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("售价")
    private String buyPrice;

    @ApiModelProperty("权益道具id")
    private String orderNo;

    public void setBuyPrice(BigDecimal buyPrice) {
        this.buyPrice = buyPrice.setScale(2,BigDecimal.ROUND_DOWN).toPlainString();
    }
}
